package de.bazinga.rotw.network.message;

import com.captiveimagination.jgn.JGN;

import de.bazinga.rotw.base.attacker.AttackerConqueredMessage;
import de.bazinga.rotw.base.attacker.AttackerCreateMessage;
import de.bazinga.rotw.base.attacker.AttackerDiedMessage;
import de.bazinga.rotw.base.attacker.AttackerKilledMessage;
import de.bazinga.rotw.base.attacker.AttackerUpdateMessage;
import de.bazinga.rotw.effects.BulletHoleMessage;
import de.bazinga.rotw.network.message.physics.AppliedForceMessage;
import de.bazinga.rotw.network.message.physics.ObjectLocationMessage;
import de.bazinga.rotw.network.message.physics.UpdatePhysicsMessage;
import de.bazinga.rotw.objects.elevator.ElevatorMessage;
import de.bazinga.rotw.treasure.TreasureFoundMessage;
import de.bazinga.rotw.treasure.TreasureResetMessage;
import de.bazinga.rotw.treasure.TreasureWonMessage;
import de.bazinga.rotw.vehicle.VehicleDamageMessage;

public class RegisterMessages {

	public static void registerMessages() {
		JGN.register(BulletHoleMessage.class);
		
		JGN.register(AppliedForceMessage.class);
		JGN.register(ObjectLocationMessage.class);
		JGN.register(UpdatePhysicsMessage.class);
		
		JGN.register(ChatMessage.class);
		JGN.register(FallDamageMessage.class);
		JGN.register(FallDiedMessage.class);
		JGN.register(HitMessage.class);
		JGN.register(ItemMessage.class);
		JGN.register(KilledOppMessage.class);
		JGN.register(MapMessage.class);
		JGN.register(NewBulletMessage.class);
		JGN.register(ScoreUpdateMessage.class);
		JGN.register(SynchronizeCreateBulletMessage.class);
		JGN.register(SynchronizeCreatePlayerMessage.class);
		JGN.register(SynchronizePlayerMessage.class);
		JGN.register(TeamChangeMessage.class);
		JGN.register(ZombieInfoMessage.class);
		JGN.register(ZombieWaypointMessage.class);
		

		JGN.register(ElevatorMessage.class);
		JGN.register(VehicleDamageMessage.class);

		JGN.register(AttackerCreateMessage.class);
		JGN.register(AttackerDiedMessage.class);
		JGN.register(AttackerUpdateMessage.class);
		JGN.register(AttackerConqueredMessage.class);
		JGN.register(AttackerKilledMessage.class);
		
		
		JGN.register(TreasureFoundMessage.class);
		JGN.register(TreasureWonMessage.class);
		JGN.register(TreasureResetMessage.class);
	}
}
